
module.exports= {
    version: '/api/v1/',
    /**
     * http接口状态码
     */
    httpCode:{
        'OK'            : {code: 20000, message: '操作成功'},
        'ILLEGAL_TOKEN' : {code: 50008, message: '无效凭据'},
        'OTHER_LOGIN'   : {code: 50012, message: '已登陆'},
        'TOKEN_EXPIRE'  : {code: 50014, message: '登陆过期'},
        'PASS_ERROR'    : {code: 60204, message: '密码错误'},
        'ILLEGAL_PARAM' : {code: 60205, message: '无效参数'},
        'NO_DATA'       : {code: 60206, message: '未找到数据'},
        'DUPLICATED'      : {code: 60207, message: '数据已经存在'},
        'UNKNOWN' : {code: 60205, message: '未知错误'},
        'MEDIASERVER_NOT_EXIST': {code: 60208, message: '媒体服务器错误'},
    },
    // 程序运行开始时间
    start: new Date()
}
